package com.hmdp.utils;

import java.util.Random;

public enum CodeRule {
    FOUR_DIGIT_CODE(4), FIVE_DIGIT_CODE(5), SIX_DIGIT_CODE(6);
    private final int CODE_NUMS;


    CodeRule(int num) {
        CODE_NUMS = num;
    }

    public int getCodeNums() {
        return CODE_NUMS;
    }


}
